package ch04;

import java.util.Scanner;

public class SortNumberInput {
	
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		
		System.out.println("Enter three numbers:");
		double num1 = in.nextDouble();
		double num2 = in.nextDouble();
		double num3 = in.nextDouble();
		
		double lowNum = Math.min(num1, num2);
		lowNum = Math.min(lowNum,num3);
		
		double highNum = Math.max(num1, num2);
		highNum = Math.max(highNum,num3);
		
		
		
	}

}
